Edit Records

Grid View

Grid View is a spreadsheet-like view showing records and fields as rows and columns. The navigation bar allows you to switch the records quickly, insert or delete records.

To add a record

To edit a record

Note: Close the table is another way to save the records.

To delete a record

Form View

Form View displays a single record at a time from a table. The navigation bar allows you to switch the records quickly, insert or delete records.

To add a record

To edit a record

Note: Close the table is another way to save the records.

To delete a record

Edit Records with Special Handling

To set the cell value to an empty string or NULL, click on a cell to enter edit mode, and then control-click the cell and select Set to Empty String or Set to NULL.

To view images in the grid, just simply choose View -> Display -> Show Image in Grid.

Note: Available only for MySQL, Oracle, PostgreSQL, SQL Server and MariaDB.

Hint: To view/edit images in an ease way, see Image Editor.

To edit a Date/Time record, just simply click Index Button to open the editor for editing. Choose/enter the desired data. The editor used in cell is determined by the field type assigned to the column.

Note: Available only for MySQL, Oracle, PostgreSQL, SQL Server and MariaDB.

Date

Time

DateTime/Timestamp

To edit an Enum record, just simply choose the record from the drop-down menu.

Note: Available only for MySQL, PostgreSQL and MariaDB.

To edit a Set record, just simply click Index Button to open the editor for editing. Select the records from the list. To remove the records, uncheck them in the same way. Check Null or Empty String to set the value as Null or Empty String.

Note: Available only for MySQL and MariaDB.

To view BFile content, just simply choose View -> Display -> Preview BFile.

Note: Available only for Oracle.

To generate UUID/GUID, control-click the selected cell and select Generate UUID.

Note: Available only for PostgreSQL and SQL Server.

Edit Records with Foreign Key (Foreign Key Data Selection - Available only in Non-Essentials Edition)

Foreign Key Data Selection is a useful tool for letting you to get the available value from the reference table in an easy way. It allows you to show additional records from the reference table and search for particular records.

To include data to the record, just simply click Index Button to open the editor for editing.

Just simply double-click to select the desired data.

Hint: By default, the number of records showed is 1000. To show all records, , click Show All. To refresh the records, click Refresh.

Click Show/Hide Columns to open a pane on the left for showing a list of column names. Just simply click to show the additional column. To remove the columns, uncheck them in the same way.

Hint: To set column in ascending or descending mode, click the right side of the column and select Sort Asc / Sort Desc.

Enter a search string into the Filter edit box and press ENTER to filter for the particular records.

Hint: To remove the filter results, simply remove the search string and press ENTER.

Copy Data from Grid View

Data that being copied from Navicat goes into the clipboard with the fields delimited by tabs and the records delimited by carriage returns. It allows you to easily paste the clipboard contents into any application you want. Spreadsheet applications in general will notice the tab character between the fields and will neatly separate the clipboard data into rows and columns.

To select data using keyboard shortcuts

COMMAND-A

Toggle the selection of all rows and columns in the data grid.

SHIFT-UP ARROW

Toggle the selection of rows as you move up in the data grid.

SHIFT-DOWN ARROW

Toggle the selection of rows in the data grid as you move down.

To select data using mouse actions

Note: After you have selected the desired records, just simply press COMMAND-C or choose Edit -> Copy.

Paste Data into Grid View

Data are copied into the clipboard will be arranged as below format:

When pasting data into Navicat, you can replace the contents of current records and append the clipboard data into the table. To replace the contents of current records in a table, you must select the rows in the data grid whose contents must be replaced by the data in the clipboard. Just simply press COMMAND-V or choose Edit -> Paste. Navicat will paste all the content in the clipboard into the selected rows. The paste action cannot be undone if you do not enable transaction.

Copy Records as Insert/Update Statements

To copy records as Insert/Update statement, control-click the selected records and select Copy As -> Insert Statement or Update Statement. Then, you can paste the statements in any editors.

Copy Field Name

To copy field names as tab separated values, control-click the selected columns/records and select Copy As -> Tab Separated Values (Field Name only). If you want to copy data only or both field names and data, you can choose Tab Separated Values (Data only) or Tab Separated Values (Field Name and Data) respectively.